//
// Created by lenovo on 2022/3/11.
//

#ifndef ANRCATCHERDEMO_TRACEDUMPER_H
#define ANRCATCHERDEMO_TRACEDUMPER_H

namespace AnrChecker {
    class TraceDumper {
    public:
        TraceDumper();
        virtual ~TraceDumper();

    protected:
        int getApiLevel();
        void hookAnrTraceWrite(bool isSiUser);
        void unHookAnrTraceWrite();
    };
}
#endif //ANRCATCHERDEMO_TRACEDUMPER_H
